import * as React from "react";
import { Component } from "react";
import A from "./A";

class B extends Component {
  render() {
    return (
      <div>
        我的名字叫：{this.props.name}
        我的年龄是：{this.props.age}
      </div>
    );
  }
}

export default A("提示")(B);
